package com.lil.shiro.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lil.shiro.dao.PasswordMapper;
import com.lil.shiro.model.Password;
import com.lil.shiro.service.PasswordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Slf4j
@Service
public class PasswordSrviceImpl extends ServiceImpl<PasswordMapper, Password> implements PasswordService {

    @Override
    public String findPasswordInfo(String userId) {
        String password = baseMapper.getPasswordByUserId(userId);
        return password;
    }
}
